package com.shaozi.nc.quartz.attendance;

import org.apache.log4j.Logger;
import org.quartz.Job;
import org.quartz.JobExecutionContext;
import org.quartz.JobExecutionException;

import com.shaozi.utils.common.BeanUtils;

/**
 * 上下班考勤提醒
 * @author brenx
 *
 */
public class AttendanceSignJob implements Job {

	private final Logger logger = Logger.getLogger(AttendanceSignJob.class);
	
	private AttendanceSignQuartzJob attendanceSignQuartzJob;

	public AttendanceSignJob() {
		attendanceSignQuartzJob = (AttendanceSignQuartzJob) BeanUtils.getBean("attendanceSignQuartzJob");
	}

	@Override
	public void execute(JobExecutionContext context) throws JobExecutionException {
		attendanceSignQuartzJob.execute(context);
	}

}
